# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-precis-i18n
_pkgname=precis-i18n
pkgver=1.0.2
pkgrel=2
pkgdesc="Internationalized Usernames and Passwords"
url="https://github.com/byllyfish/precis_i18n"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/byllyfish/precis_i18n/archive/v$pkgver.tar.gz"
builddir="$srcdir"/${_pkgname/-/_}-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py test
}
sha512sums="bbbc52ae11fc9f0da3f4723d52205c4103f6f96929f10926436b1bff3aee22ce9ff2f7bdf9df6c9f82a4b99aeea94a9ad5df85b9c9f03bccfa5109c35eb181d7  precis-i18n-1.0.2.tar.gz"
